﻿using Hong.Model.Dto.PesponseDto.ResponseModel.ResultModel;
using Hong.Model.SysDomain.Model_SystemSettings;
using Hong.Model.SysDomain.Model_SystemSettings.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hong.IRepository.IRepository_SystemSettings
{
    public interface IDepartmentDal
    {
        #region 部门管理
        Task<PageResponse<Dep_DicModel>> GetDep(string DepName, int pageindex, int pagesize);

        Task<ResponseModel<bool>> AddDep(Department department);

        Task<ResponseModel<List<Department>>> selecDep();

        Task<ResponseModel<List<Dictionary>>> selecDic(string DicCode);
        #endregion
    }


}
